package com.qfedu.common.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * 2024/12/26 上午11:03
 */
@Setter
@Getter
public class CommonException extends RuntimeException{

    private Integer code;
    private String msg;

    @SuppressWarnings("unused")
    public CommonException() {
    }

    @SuppressWarnings("unused")
    public CommonException(String msg) {
        this.msg = msg;
    }

    @SuppressWarnings("unused")
    public CommonException(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
